package com.baiye.template.service;

import com.baiye.template.pojo.MyFile;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author GUOZHIPENG
 * @version 1.0
 * @date 2021/9/9 11:14
 */
public interface FileService {
    String uploadFileToOSS(MultipartFile file);

    String uploadFileToLocal(MultipartFile file,Integer userId);

    List<MyFile> getFile(MyFile myFile, Integer pageIndex, Integer pageSize);
}
